// -*- mode: c++; coding: utf-8 -*-

#ifndef _TYPES
#define _TYPES

module Oreto {

  struct DateTime {
    int nYear;
    byte nMonth;
    byte nDay;
    byte nHour;
    byte nMinute;
    byte nSecond;
  };
	
  sequence<DateTime> DateTimeSeq;
  
  struct TaskReward {
    float value;
  };

  /**
   * Possibles task states: Pending, Active, Unactive, Completed.
   **/
  enum TaskState {Pending, Active, Unactive, Completed};

};

#endif
